-
Notifications
You must be signed in to change notification settings - Fork 217
collapse system messages #1488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
collapse system messages #1488
Conversation
Simplified the call by removing the expanded option parameter.
|
|
||
| try { | ||
| trace.startDetails("👾 systems", { expanded: true }) | ||
| trace.startDetails("👾 systems") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The call to trace.startDetails("👾 systems") was modified to remove the second argument { expanded: true }. If the trace.startDetails function expects the second parameter to influence tracing details or output, removing it without adapting downstream logic may break functionality or observability. Ensure the change is intentional, and all usages are compatible with the new call signature. See best practices on function signatures and backward compatibility: https://www.typescriptlang.org/docs/handbook/functions.html
AI-generated content by prr
missing_parameter_change_breaks_tracingmay be incorrect. Use reactions to eval.
|
LGTM 🚀
|
|
|
||
| try { | ||
| trace.startDetails("👾 systems", { expanded: true }) | ||
| trace.startDetails("👾 systems") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If removing { expanded: true } from the trace details alters logging/behavior, briefly comment on rationale or its impact.
AI-generated content by linters
comments.mdmay be incorrect. Use reactions to eval.
|
Warning There are no module-level docstrings or comments providing an overview, and function-level documentation for the exported functions is missing. Consider adding docstrings describing their purpose and important parameters/return values. (packages/core/src/azuredevops.ts#L1 comments.md) Warning The new function Warning There is no class-/function-level documentation for the exported functions. Add docstrings describing their purpose, parameters, and return values for public API functions (e.g., Warning The change removed the
|
Improved debug logs, error reporting, and response handling refinements.
* 🐛: Handle unknown reference types in state logging Added logging for unknown reference types in activateChatParticipant. * 3rd party license update * fix #1462 * ✨ feat: enhance Azure API usage and version configuration - Added support for AZURE_AI_INFERENCE_VERSION constant. - Expanded documentation with API version and configuration examples. * ✨ Enhance API version parsing logic Refined Azure API version fallback and URL parameter parsing. * test with gpt-4.1 * 🔧 refactor: improve astgrep debug and doc formatting Adjusted debug imports and corrected doc indentation and spacing. * ✨ Improve terminal message rendering logic Modified slice behavior for balanced content display in limited rows. * using project watcher to avoid rebuild scripts on every invocation * cache workspace parsing * Release 1.129.5 * [skip ci] updated version numbers * ✨ Improve debug logging and update GCC script Enhanced debug logging across services and refined GCC script messaging. * ♻️ Enhance debugging and logging in container handling Added detailed container operations logging and improved dbg usage. * ✨ feat: improve Azure API version parsing in env.ts Enhanced parsing to ignore versions with curly braces in URLs. * Release 1.129.6 * [skip ci] updated version numbers * 🎨: Improve trimmed message rendering logic - Adjusted logic to add ellipsis only when necessary. * ✨: Improve message trimming with hidden lines indicator Added indicator for hidden lines count in trimmed message content. * ✨: Improve hidden lines rendering logic Adjusted handling to display one hidden line or summarize excess. * ✨ refactor terminal rendering for truncation logic Refined line truncation logic for better clarity and maintainability. * Release 1.129.7 * [skip ci] updated version numbers * support running .gitignored files directly * Release 1.129.8 * [skip ci] updated version numbers * toy blog narration script * test narration * add blog audio descriptions * ✨: Enhance blog narration with diverse AI voice options Add detailed voice personas, force logic, and AI disclaimers. * generating videos * ✨ Enhance Azure AI and OpenAI LLM capabilities Updated Azure AI models, pricing, and regex for expanded support. * render schema in chat preview * ✨ feat: enable blog narration and improve schema handling Added a draft blog post for narration summaries with genai and refined JSON schema handling in code, enhancing readability and functionality. * narration blog * don't send defaults in response_schema * ✨: Add options to disable trace and output generation Introduce "--no-run-trace" and "--no-output-trace" CLI options. * ✨ Update trace and output file handling conventions Updated constants and related code references for clearer filenames. * Release 1.129.9 * [skip ci] updated version numbers * ✨: Add JSONSchemaToFunctionParameters utility refinement Introduce a robust utility to convert JSON Schemas into parameters. * ✨ feat: add options parameter to copyTo method - Enhanced copyTo to support additional options for file handling. * copyTo option as optional * removing .mp4s * typos (#1465) * updating github actions docs * ✨ Add blog post on GitHub Models in Actions New blog post explains using GITHUB_TOKEN with GitHub Models. * typo * narration * fix various typechecking issues in genaiscript.d.ts * ✨ refactor code and enhance interfaces Updated interfaces, improved typings, and cleaned unused elements. * Release 1.130.0 * [skip ci] updated version numbers * ✨ improve error handling in file operations * ✨ Add workspace and haiku prompt, enhance fs function Added a VS Code workspace file and a haiku prompt. Improved `tryStat` logic. * genai: generated docs * Release 1.130.1 * [skip ci] updated version numbers * message about waiting to start * enable permissions: models: read in github actions (#1467) * enable models * save transcript as well * ✨ Optimize front matter generation and update descriptions Refactored front matter scripts and enhanced SEO metadata generation. * Docs image generation (#1468) * add images for docs * optimizing * more opti * Update genaiscript.prompt.md (#1469) The reference to the GenAIScript docs is broken. * support using selection (#1471) * support using selection * ✨ feat: add string variable initialization in switch case - Introduced a new string variable initialization in "string" case handling. * linking to neoview runner * add og:image * one more image * Release 1.130.2 * [skip ci] updated version numbers * Update file inclusion for genaisrc subfolders (#1473) * fix for #1360 * ✨ feat: update GenAI docs for TypeScript support - Enhanced TypeScript integration with explanations and examples * fixing typos * adding fetch tool (#1474) * adding fetch tool * basic fetch working * slide on ast * File-as-resources (#1478) * support uris in file descriptions * missing await * ✨ Improve git and resource handling for better integration Enhanced debugging, refactored functions, and streamlined cloning logic. * ✨ Add cancellation checks and enhance resource handling Introduced cancellation checks in critical methods and improved URI handling. * ✨ Add support for filtering by file extensions Introduced an --accept option for specifying accepted extensions. * 🐛 Fix git URL pathname parsing logic Improve regex for .git suffix detection and normalize repo data. * ✨ refactor resource resolution and add tests Separated script resolution logic and introduced gist handling. * ♻️ refactor: simplify resource imports by removing unused modules Removed unused imports including constants, crypto, workdir, host, and mathjs. * ✨ Enhance CLI run doc with resource info, fix indentation Improved documentation by adding resource resolution details and correcting indentation inconsistencies. * ✨: Add support for git repository URI pattern - Introduced `git://` URI pattern for resolving file globs * ✨ feat: enhance resource and script handling in CLI and core Added new parameters to CLI, improved resource resolution, and caching. * ✨ enhance: improve resource test cleanup and readability - Added async cleanup with recursive rmdir in tests. - Removed redundant console log statements. * ✨ feat: add directory check before processing files Added logic to skip processing when encountering directories. * ✨ feat: enhance WhisperASR with debugging and signal support Added debugging with genaiscriptDebug and support for cancellation signals. * updating packages * show size in build * ✨: Introduce advanced GitHub client features Enhanced client with APIs, job utils, and streamlined functionality. * ignore a few files * Release 1.130.3 * [skip ci] updated version numbers * ✨: Add prompty file parsing support to parsers Expanded parsers to handle prompty files and updated types accordingly. * ✨ Add onMessage handler for resourceChange messages (#1480) Enhances worker thread with onMessage callback support. * Release 1.130.4 * [skip ci] updated version numbers * round robin example * push experiment * comments * ✨ Add Prompty support and refine parsers/doc updates Expanded documentation for Prompty and parsers with cleaner formatting. * ✨ feat: add error logging to OutputTrace interface Added an `error` method to log errors with optional metadata. * Release 1.130.5 * [skip ci] updated version numbers * ✨ refactor: Rename type in PromptyDocument interface - Replaced ChatCompletionMessageParam with ChatMessage in messages field * Release 1.130.6 * [skip ci] updated version numbers * ✨ chore: update dependencies across multiple packages Upgraded various dependencies to enhance functionality and security. * Adding a basic linter (#1482) * adding base script * add error message * ✨ feat: update git diff base to HEAD^ Adjusted base reference for `git.diff` from "dev" to "HEAD^". * ✨: Enhance git diff configuration for linters Updated `git.diff` to include `ignoreSpaceChange` option. * ✨ feat: enhance linter script with base parameter support Added a configurable "base" parameter for defining git diff base commit. * 🚚 Rename and enhance workflows and linter paths Moved linters to .github directory and updated workflow logic. * ✨ feat: Enhance linting with git diff and tool support Added git diff handling with extended features and new tools. * ✨: Improve AI evaluation prompt clarity Added a note encouraging evaluation with 👍👎 feedback. * ✨: Add Discord link to social footer configuration Added a Discord link to the social array in astro.config.mjs. * ✨ feat: Update hero links with Discord integration Replaced Blog link with Discord invite link in the hero section. * fix definitions when opening .mts script * Fix draft file saving issue in genaiscript (#1486) * ✨ refactor GitClient for improved error handling Simplified branch handling and added error fallback support. * updated linter model * update reviews models * don't use color emojis (#1487) * collapse system messages (#1488) * ♻️ Simplify trace.startDetails parameters Simplified the call by removing the expanded option parameter. * ✨: Enhance debugging and error handling in core modules Improved debug logs, error reporting, and response handling refinements. * more triggers * add linter (#1489) * add linter * ✨ Add Discord server link to README Added a link to the project's Discord server for community engagement. * 💬 Add clarity to Discord server links Updated text to improve Discord join links for consistency. * add diagram * remove extension * ⚡ Update linter rules and tools configuration Enhanced diagram labeling rules and added new linter tools details. * ✨: Add PR description validation guideline Ensure PR descriptions align with changes in the diff for clarity. * 🎨: Enhance lint output formatting Use GitHub Flavored Markdown for richer annotations * ✨ feat: enhance linter tools and add stats markdown Added new linter analysis capabilities and tools for reporting stats. * Release 1.130.7 * [skip ci] updated version numbers * move linters (#1490) * move linters * add genaisrc path to linter workflow triggers * ✨ feat: Enhance GenAIScript with prompty file parser Added support for parsing .prompty files in scripts for GenAIScript. * 🎨: Refine grumpy-dev review role description Changed the role description to be more concise. Removed task section. * added discord blog post * ✨ improve argument handling in resolveImportPrompty - Enhanced logging and refined error handling for extra arguments. * ♻️ Update genai linting workflow and script configurations Integrated push triggers and expanded linter script features. * ✨ feat: Add notification for no doc changes in diff - Notify user when no changes found in docs directory. * 🎨 refactor: Update system title and description for Z3 Refined the system's title and description for clarity and accuracy. * github copilot chat as default provider (#1491) * add settings * ✨ Clarify LLM provider description in settings Updated the description to mention all VS Code-supported models. * cleanup * use option to specif provider * change default * fix config name * updated docs * fix condition * built-in z3 (#1493) * ✨ Enhance Z3 agent description for clarity Expanded the Z3 agent description to include solving constraint systems. * Release 1.131.0 * [skip ci] updated version numbers * ✨ chore: Enhance file handling, improve MIME logic Streamlined debugging imports, added MIME rules, and new sanitize script. * ✨ chore: Update devDependencies in package.json Upgraded astro and starlight-blog to newer versions. * Create no-fix-mes * Rename no-fix-mes to no-fix-mes.md * 🎨: Refactor resolveFileContent return type handling Refactored the function to improve clarity and type consistency. * ✨ chore: update MIME type for JavaScript files - Changed MIME type for .js from text/javascript to application/javascript * a few more processes using models * add docs workflow * tweak /docs action * typo * 🎨 update compile step in workflow config Replaced 'yarn compile:cli' with 'yarn compile' for build consistency. * add diff to genai:docs * add typechecks/ fetch dev * debug logging * handle nothing to do case * git status * update before generate * removed pattern * adding gpt-image-1 support (#1492) * refresh dependencies * re-neable blog generator * updated slides * Release 1.132.0 * [skip ci] updated version numbers * Parse tokenize (#1497) * ✨ feat: add tokenize command to CLI for token processing Adds a new tokenize command to parse text into hex tokens with options. * docs generator * remove comments * updated docs prompt --------- Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> Co-authored-by: Andrew Noblet <andrewbnoblet@gmail.com>
The changes address the bug where genaiscript attempts to save files that are still in draft mode, causing unnecessary prompts when running scripts. This enhancement improves user experience by preventing interruptions during script execution.
Fixes #1462
{ expanded: true }argument from thetrace.startDetailsmethod within theexpandTemplatefunction, simplifying its invocation.