-
Notifications
You must be signed in to change notification settings - Fork 0
Add debug logger and tool call support where OpenAI compatible API supports tool calling #5
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
Open
Pablonara
wants to merge
23
commits into
main
Choose a base branch
from
tool-call-support-oai
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
7e8b73a
Add debug logger and tool call support for OpenAI API compatible tool…
Pablonara 9f6835d
Remove debugging in production
Pablonara 680fd24
Remove reasoning tag rendering for user logic as users will never out…
Pablonara eac8917
Fallback to assistiant rendering and warn in console instead if inval…
Pablonara 993d2db
Change any[] to check with zod first
Pablonara 2983918
Switch log to devLog (logging wrapper)
Pablonara 69ffaed
Add tempfix for max recursion depth on toolcalls using prompt enginee…
Pablonara ea434dc
Fix issues with tool_calls blank array making model providers angry a…
Pablonara e244873
Fix hardcoded parameter assumption when sending search parameters
Pablonara 6d9682a
More efficient DB querying
Pablonara 58c9c21
Fix passing proper depth context to sysprompt
Pablonara dbf8eb5
Log if tool call fails (plausible if model is smaller)
Pablonara 1637f32
Fix: Actually log an error in production using the correct function
Pablonara a6bdfb4
Fix tool message rendering \\n and add searchWeb tool!!!
Pablonara 33789b1
fix weird zod shit and clean up
x4132 23fddc8
reorganize tool functions
x4132 8c66de9
further reorg, remove test tool, etc
x4132 1f4efc1
Fix CI
Pablonara 472579a
client-side keys
x4132 50dbeda
new hooks
x4132 ab9b74a
Convert showcase videos from .mov to .mp4 format
x4132 fab11bb
Update docker-compose to healthcheck faster for faster boot times in …
Pablonara 6a00cad
Add getPageContent for better tool calling
Pablonara File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.