ochafik
|
b4a00cec0f
|
Merge branch 'gguf-read' into agent-example
|
2024-04-27 23:17:27 +01:00 |
|
ochafik
|
8d503ef482
|
grammars: faster llama_grammar_copy
|
2024-04-27 23:17:00 +01:00 |
|
ochafik
|
00c709eb4a
|
grammars: cache decoded tokens
|
2024-04-27 23:17:00 +01:00 |
|
ochafik
|
09c256594d
|
grammars: early exit when no next_candidates to reject
|
2024-04-27 23:15:45 +01:00 |
|
Olivier Chafik
|
0120f7cc95
|
agent: fix wait --std-tools
|
2024-04-27 23:15:45 +01:00 |
|
Olivier Chafik
|
89dcc062a4
|
agent: mypy type fixes
mypy examples/agent/__main__.py
mypy examples/agent/fastify.py
mypy examples/openai/__main__.py
|
2024-04-27 23:15:45 +01:00 |
|
Olivier Chafik
|
ea0c31b10b
|
agent: ensure DATA_DIR exists
skip-checks:true
|
2024-04-27 23:15:45 +01:00 |
|
ochafik
|
a98f48315c
|
agent: python tool: return errors
|
2024-04-27 23:15:45 +01:00 |
|
ochafik
|
f9afb041e2
|
agent: python tool: test serializability of variables
|
2024-04-27 23:15:45 +01:00 |
|
ochafik
|
082d54db14
|
agent: rename fake weather tools
|
2024-04-27 23:15:45 +01:00 |
|
ochafik
|
6c00378630
|
agent: nits
|
2024-04-27 23:15:45 +01:00 |
|
ochafik
|
1475b1eefa
|
agent: fix killing of subprocesses
subprocesses again
|
2024-04-27 23:15:45 +01:00 |
|
ochafik
|
24e34f174b
|
agent: nit
|
2024-04-27 23:15:45 +01:00 |
|
ochafik
|
a61ebebaa0
|
agent: hint at math import in python tool
|
2024-04-27 23:15:45 +01:00 |
|
ochafik
|
9fe269e24a
|
openai: nit
|
2024-04-27 23:15:45 +01:00 |
|
ochafik
|
a634e03aba
|
agent: cache_prompt=True
|
2024-04-27 23:15:45 +01:00 |
|
Olivier Chafik
|
0532680f40
|
agent: nits
|
2024-04-27 23:15:45 +01:00 |
|
Olivier Chafik
|
6880f1d4c0
|
agent: support basic openapi tools (incl. from fastify sandbox)
|
2024-04-27 23:14:11 +01:00 |
|
Olivier Chafik
|
85820f4401
|
agent: fix sandbox dockerfile
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
b447a743fb
|
agent: revert to json schemas (ts not ready for refs)
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
701a66d80f
|
agent: fix response_format
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
6e52a9ce48
|
Update test_chat_handlers.md
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
22fe86d8b8
|
openai tools: TS signatures work well too at a fraction of the eval cost
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
19811a4011
|
openai: tests didn't catch output format
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
09de4eb9ed
|
openai: actually use thoughtful examples in tests
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
da2067a0d6
|
openai: only special-format assistant in thoughtful mode
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
d9f30f86c8
|
Update test_chat_handlers.md
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
6935503b53
|
openai: refactor chat handler vs. template
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
3c3eff52aa
|
openai: quiet + update prompt output
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
ad2f4c119a
|
Update test_chat_handlers.py
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
d8a53eadf2
|
openai: test features of templates at runtime, to make sure no bits of intel are lost
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
61f35e07a5
|
agent: prepare to test various templates
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
22b980ffc3
|
agent: update readme
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
dd11bb6937
|
agent: format still broken
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
ff6563a7bb
|
Delete test.sh
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
3da30ed89e
|
agent: fix functionary tool_calls templating
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
eb9a5524eb
|
agent: nits
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
d1d86027c4
|
agent: disable parallel by default
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
b4e292ec01
|
Create requirements.txt
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
e0c8af4ba0
|
agent: --style
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
9ab493f67e
|
Update prompting.py
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
80c793047b
|
openai: fix message merging for mixtral (parallel calls)
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
ea34bd3e5c
|
agent/openai:nits
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
ce2fb0155f
|
agent: add --allow_parallel_calls
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
c340e8cd3b
|
Update example_weather_tools.py
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
b63f91ade4
|
Update agent.py
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
e874565a13
|
agent: split code from openai example
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
253b68d9a7
|
server.py: crude reactor
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
59b411406f
|
server.py: refactor chat handlers
|
2024-04-27 23:14:11 +01:00 |
|
ochafik
|
5f3de16116
|
server.py: pass all request options, comments in ts sigs, render tool calls
|
2024-04-27 23:14:11 +01:00 |
|