Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into 451-when-writing-a-mes…
Browse files Browse the repository at this point in the history
…sage-in-the-chat-shift--enter-should-continue-writing-the-message-in-a-new-row-and-not-send-the-message
  • Loading branch information
harishmohanraj committed Jul 1, 2024
2 parents c37c1cf + 5ca1289 commit 5a4a0f0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 10 additions & 1 deletion fastagency/models/agents/web_surfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,18 @@ async def create_autogen(
my_model.summarizer_llm.uuid, user_id
)

bing_api_key = None
if my_model.bing_api_key:
bing_api_key_model = await my_model.bing_api_key.get_data_model().from_db(
my_model.bing_api_key.uuid
)
bing_api_key = await bing_api_key_model.create_autogen(
my_model.bing_api_key.uuid, user_id
)

browser_config = {
"viewport_size": my_model.viewport_size,
"bing_api_key": my_model.bing_api_key,
"bing_api_key": bing_api_key,
}
agent_name = my_model.name

Expand Down
1 change: 1 addition & 0 deletions fastagency/models/llms/together.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"Platypus2 Instruct (70B)": "garage-bAInd/Platypus2-70B-instruct",
"Gemma Instruct (2B)": "google/gemma-2b-it",
"Gemma Instruct (7B)": "google/gemma-7b-it",
"Gemma-2 Instruct (9B)": "google/gemma-2-9b-it",
"Vicuna v1.5 (13B)": "lmsys/vicuna-13b-v1.5",
"Vicuna v1.5 (7B)": "lmsys/vicuna-7b-v1.5",
"Reserved - DBRX Instruct": "medaltv/dbrx-instruct",
Expand Down

0 comments on commit 5a4a0f0

Please sign in to comment.