Skip to content

Commit

Permalink
add chatgpt configuration settins
Browse files Browse the repository at this point in the history
Signed-off-by: Future-Outlier <[email protected]>
  • Loading branch information
Future-Outlier committed Apr 10, 2024
1 parent bbb2adb commit 516d4e2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions docs/deployment/agents/chatgpt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ Specify agent configuration
agent-service:
supportedTaskTypes:
- chatgpt
# Configuring the timeout is optional.
# Tasks like using ChatGPT with a large model might require a longer time,
# so we have the option to adjust the timeout setting here.
defaultAgent:
timeouts:
ExecuteTaskSync: 10s
.. group-tab:: Flyte core

Expand Down Expand Up @@ -66,6 +72,9 @@ Specify agent configuration
agent-service:
supportedTaskTypes:
- chatgpt
# Configuring the timeout is optional.
# Tasks like using ChatGPT with a large model might require a longer time,
# so we have the option to adjust the timeout setting here.
defaultAgent:
timeouts:
ExecuteTaskSync: 10s
Expand Down
2 changes: 1 addition & 1 deletion docs/flyte_agents/developing_agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ you can route particular task requests to designated agent services by adjusting
insecure: false
defaultServiceConfig: '{"loadBalancingConfig": [{"round_robin":{}}]}'
timeouts:
GetTask: 10s
GetTask: 5s
defaultTimeout: 10s
agentForTaskTypes:
# It will override the default agent for custom_task, which means propeller will send the request to this agent.
Expand Down

0 comments on commit 516d4e2

Please sign in to comment.