Spaces:
Runtime error
Runtime error
Update my_agent.py
Browse files14 unmodified lines151617181819202125 unmodified lines474849505051525314 unmodified lines
model = OpenAIServerModel( model_id="CLAUDE_3_SONNET_37", # Replace with the desired model ID model_id="CLAUDE_3_SONNET_35", # Replace with the desired model ID api_base=os.getenv("BASE_URL"), # Base URL for the API api_key=os.getenv("OKTA_ACCESS_TOKEN"), # API key for authentication custom_role_conversions=None,25 unmodified lines name=None, description=None, prompt_templates=prompt_templates, additional_authorized_imports=['pandas', 'numpy', 'openpyxl', 'xlrd'], additional_authorized_imports=['pandas', 'numpy', 'openpyxl', 'xlrd', 'os'], model=model)
my_agent.py+2-2